package com.cloud.encrypting_cloud_storage.service;

import com.cloud.encrypting_cloud_storage.entity.User;

import java.util.List;

/**
 * @author leon
 * @Description: TODO(用户业务接口)
 * @date 2022年04月08日 19:07
 */
public interface UserService {
    User insert(User user);
    void delete(User user);
    void deleteUserById(Long id);
    User findUserById(Long id);
    List<User> findAllUser();
    User findUserByName(String name);
    User findUserByEmail(String email);

}
